package cn.zh.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
//管理员
@Data
public class Admin {

  private Long id;
  private String username;//账号
  private String password;//密码
  private String phone;//手机号
  private String nickname;//昵称
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date createTime;


}
